package com.bf.electroplating.pojo.vo.home;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

/**
 * 设备电流时间折线图VO
 * 
 * @author system
 * @since 2025-01-11
 */
@Data
@Schema(description = "设备电流时间折线图VO")
public class DeviceCurrentChartVO {

    @Schema(description = "设备ID")
    private String deviceId;

    @Schema(description = "设备名称")
    private String deviceName;

    @Schema(description = "日期")
    private LocalDate date;

    @Schema(description = "平均电流(A)")
    private BigDecimal avgCurrent;

    @Schema(description = "最大电流(A)")
    private BigDecimal maxCurrent;

    @Schema(description = "最小电流(A)")
    private BigDecimal minCurrent;

    @Schema(description = "电流数据点列表（按小时）")
    private List<CurrentDataPointVO> hourlyData;
}
